type MyOmit<T extends Object, K extends keyof T> = {
    [P in Exclude<keyof T,K>]:T[P]
}

// interface Todo {
//     title: string
//     description: string
//     completed: boolean
//   }
// type t = MyOmit<Todo, 'description'>